package com.sunzhe.train.config;

import com.ibeetl.admin.core.conf.JasonConfig;
import com.sunzhe.cms.service.CmsPlatformService;
import org.beetl.core.GroupTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.AutoConfigureAfter;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.Configuration;

import javax.annotation.PostConstruct;

/**
 * 可以在这里注册标签，方法等内容
 * 
 * @author Administrator
 *
 */
@Configuration
@AutoConfigureAfter(JasonConfig.class)
public class TrainConfig {
	@Autowired
	GroupTemplate groupTemplate;
	@Autowired
	ApplicationContext applicationContext;
	@Autowired
	CmsPlatformService cmsPlatFormService;

	@PostConstruct
	public String init() {
		//groupTemplate.registerFunctionPackage("trainPlatform", platFormService);
		return null;
	}
}
